home *** CD-ROM | disk | FTP | other *** search
-
- to compile programs in the above-indicated sub- directories/trees,
- one must load libglut. inst-able images of GLUT v3.1 are located at
- toolbox/src/exampleCode/opengl/GLUT/inst/
-
- -------------------------------------
-
- ~opengl2/examples/fog README
-
- Copyright 1991-93, 1995, Silicon Graphics, Inc.
- Technical Education Development
- All Rights Reserved.
-
-
-
- fog.c: demonstrates how to use fog
-
- This program demonstrates using different types of fog.
- Pressing the <f> key chooses between 3 types of fog:
- exponential, exponential squared, and linear.
-
- If the fog mode is GL_EXP or GL_EXP2, pressing the up and down
- arrow keys adjusts the density value.
-
- If the fog mode is GL_LINEAR, pressing the up and down
- arrow keys adjusts the end value for linear fog. The start value
- for the linear fog is fixed.
-
- Escape key - exit the program
- <f> key - change the fog blend function
- UP Arrow Key - increase the fog density or end value
- DOWN Arrow Key - decrease the fog density or end value
-